<?
function create_users_admins()
{
	global $DB;
	if(!$DB) die("bağlantı yok");
	$sql = "	CREATE TABLE `users_admins` (
				  `id` int(10) NOT NULL AUTO_INCREMENT,
				  `username` varchar(50) NOT NULL,
				  `password` varchar(50) NOT NULL,
				  `name` varchar(150) NOT NULL,
				  `status` int(1) NOT NULL,
				  `record_datetime` datetime NOT NULL,
				  `last_input_datetime` datetime NOT NULL,
				  `row` int(10) NOT NULL,
				  PRIMARY KEY (`id`)
				) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;

				INSERT INTO `users_admins` VALUES ('1', 'admin', 'admin', 'Genel Yönetici', '1', '2012-07-23 13:35:03', '2012-07-23 13:35:03', '0');";
				
	if($DB->query($sql))
		return true;
	else
		return false;
}
?>